package org.elsfs.cloud.common.mybatis.ext.sql;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * JOIN连接类型
 *
 */
@Getter
@RequiredArgsConstructor
public enum JoinType {

    /**
     * 左连接
     */
    LEFT_JOIN("LEFT JOIN"),
    /**
     * 右连接
     */
    RIGHT_JOIN("RIGHT JOIN"),
    /**
     * 内连接
     */
    INNER_JOIN("INNER JOIN");

    /**
     * SQL连接关键字
     */
    private final String joinKeyword;
}
